package com.tao.service;

import com.tao.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserService {
    public  int deleteByPrimaryKey(Integer id);

    public User selectByPrimaryKey(Integer id);

    public   int updateByPrimaryKeySelective(User record);

    public  int updateByPrimaryKey(User record);

    public List<User> selectAll();

    public  User selectByname(String username);

    public int insertUser(User user);
}
